package com.zxl.manager.dao;

import com.zxl.manager.entity.Product;
import com.zxl.manager.entity.ProductDetail;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * Created by jimmy on 2017/7/9.
 */
@Repository
public interface ProductDao {
    List<Product> getAllProd();

    int insProd(Product product);

    int updProd(Product product);

    int delProd(String ids);

    List<ProductDetail> getProdDet(String proId);

    int insProdDet(ProductDetail pd);

    int delProdDet(String prodIds);
}
